package com.goktech.olala.server.dao.goods;

import com.goktech.olala.server.pojo.goods.Picture;
import java.util.List;

public interface PictureMapper {
    int deleteByPrimaryKey(Long pictureId);

    int insert(Picture record);

    Picture selectByPrimaryKey(Integer pictureId);

    List<Picture> selectAll();

    int updateByPrimaryKey(Picture record);
    //通过商品id查找商品图片
    List<Picture> selectByGoodsId(String relationId);

}